package org.rency.spring.cloud.boot.mvc.dao;

import org.rency.spring.cloud.boot.mvc.domain.MemberDomain;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * ${todo}
 *
 * @author: Created by user_rcy@163.com on 2016/8/22.
 * @version: V1.0.0
 * @since JDK 1.8
 */
@Repository("memberDao")
public interface MemberDao {

    public MemberDomain getByLogin(String loginName);

    public List<MemberDomain> loadAll();

    public MemberDomain get(String memberId);

    public int delete(String memberId);

    public int insert(MemberDomain domain);

}